package com.meiyou.mapper;

import com.meiyou.pojo.MeiyouEvaluate;
import com.meiyou.pojo.MeiyouEvaluateExample;
import com.meiyou.pojo.vo.MyPingJia;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MeiyouEvaluateMapper {
    int countByExample(MeiyouEvaluateExample example);

    int deleteByExample(MeiyouEvaluateExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MeiyouEvaluate record);

    int insertSelective(MeiyouEvaluate record);

    List<MeiyouEvaluate> selectByExample(MeiyouEvaluateExample example);

    MeiyouEvaluate selectByPrimaryKey(Integer id);
    
    List<MyPingJia> selGuidePJ(String eUCount);
    
    List<MyPingJia> selYuehuiPJ(String eUCount);
    
    List<MyPingJia> selTuinaPJ(String eUCount);
    
    List<MyPingJia> selTourPJ(String eUCount);

    int updateByExampleSelective(@Param("record") MeiyouEvaluate record, @Param("example") MeiyouEvaluateExample example);

    int updateByExample(@Param("record") MeiyouEvaluate record, @Param("example") MeiyouEvaluateExample example);

    int updateByPrimaryKeySelective(MeiyouEvaluate record);

    int updateByPrimaryKey(MeiyouEvaluate record);
}